<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="bankMaintainCss" jsFile="bankmaintaineditJs" current="银行状态维护">
  	<div class="page-content">
  		<!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1>银行状态
                    <small>修改银行状态信息</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <a href="${context}/company/showindex">银行状态维护</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">修改银行状态</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="portlet light bordered">
                <div class="portlet-body form edit-form">
                    <!-- BEGIN FORM-->
                    <form action="#" id="createForm" class="createform">
                        <div class="form-body">
                        	<div class="alert alert-danger display-hide">
			                    <button class="close" data-close="alert"></button> 表单含有错误. 请检查. 
			                </div>
			                <div class="alert alert-success display-hide">
			                    <button class="close" data-close="alert"></button> 表单验证通过! 
			                </div>
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group">
                                    	<div class="input-group">
                                            <label class="input-group-addon">银行编码</label>
                                            <input type="hidden" value="${paybankStatusInfoVO.id}" name="id"  />
                                            <div class="input-group-content">
                                                <input type="text" id="bank_code" name="bank_code" class="form-control" placeholder="银行编码" readonly="readonly" value="${paybankStatusInfoVO.bank_code}">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--/span-->
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <div class="input-group">
                                            <label class="input-group-addon">银行名称</label>
                                            <div class="input-group-content">
                                                <input type="text" id="bank_name" name="bank_name" class="form-control" placeholder="★银行名称" readonly="readonly" value='${paybankStatusInfoVO.bank_name}' />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--/span-->
                            </div>
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <div class="input-group">
                                            <label class="input-group-addon">开始时间</label>
                                            <div class="input-group-content">
                                            	<div class="input-group date form_datetime">
                                                        <input type="text" size="16" id="start_time" name="start_time" readonly class="form-control"  value="${paybankStatusInfoVO.date_ToString(paybankStatusInfoVO.start_time)}">
                                                        <span class="input-group-btn">
                                                            <button class="btn default date-set" type="button">
                                                                <i class="fa fa-calendar"></i>
                                                            </button>
                                                        </span>
                                                    </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--/span-->
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <div class="input-group">
                                            <label class="input-group-addon">结束时间</label>
                                            <div class="input-group-content">
                                            	<div class="input-group date form_datetime">
                                                        <input type="text" size="16" id="end_time" name="end_time" readonly class="form-control" value="${paybankStatusInfoVO.date_ToString(paybankStatusInfoVO.end_time)}">
                                                        <span class="input-group-btn">
                                                            <button class="btn default date-set" type="button">
                                                                <i class="fa fa-calendar"></i>
                                                            </button>
                                                        </span>
                                                    </div>
                                                
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <div class="input-group">
                                            <label class="input-group-addon">备注</label>
                                            <div class="input-group-content">
                                                <input type="text" id="remark" name="remark" class="form-control" placeholder="备注" value="${paybankStatusInfoVO.remark}">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <div class="input-group">
                                            <label class="input-group-addon">状态</label>
                                            <div class="input-group-content">
                                                <select name="status" class="form-control input-inline">
                                                    <option value="">请选择</option>
                                                    <option value="DATA_AVAILABLE" <#if paybankStatusInfoVO.id== ""||paybankStatusInfoVO.status == "DATA_AVAILABLE">selected="selected"</#if>>启用</option>
                                                    <option value="DATA_DISABLE" <#if paybankStatusInfoVO.status == "DATA_DISABLE">selected="selected"</#if>>停用</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--/span-->
                            </div>
                        </div>
                        <div class="form-actions top">
                            <div class="row col-md-offset-4 col-md-5" >
                                <button type="submit" id="btnSubmit" class="btn green">保存</button>
                                <a href="${context}/paybank_status/paybank_status_view" class="btn default">返回</a>
                            </div>
                        </div>
                    </form>
                    <!-- END FORM-->
                </div>
            </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
    </div>
</@page.mainTemplate>